package com.test.model;

import java.util.Set;

/**
 * 
 * @author Administrator
 *@hibernate.class table="t_group"
 */
public class Group {
	/**
	 * @hibernate.id
	 * 		generator-class="native"
	 */
	private int groupid;
	/**
	 * @hibernate.property
	 */
	private String groupname;
	/**
	 * @hibernate.property
	 */
	private String remark;

	/** 
	 * @hibernate.set
	 * 		inverse="true"
	 * @hibernate.key column="groupid"
	 * @hibernate.one-to-many
	 * 		class="com.test.model.User"
	 */
	private Set<User> users;
	public int getGroupid() {
		return groupid;
	}

	public void setGroupid(int groupid) {
		this.groupid = groupid;
	}

	public String getGroupname() {
		return groupname;
	}

	public void setGroupname(String groupname) {
		this.groupname = groupname;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public Set<User> getUsers() {
		return users;
	}

	public void setUsers(Set<User> users) {
		this.users = users;
	}

}
